﻿using System;
using System.Collections.Generic;
using System.Text;
using NewThinkings.DataLayer.DataObjects.SQL;
using NewThinkings.Framework.Log;
using NewThinkings.BusinessLayer.BusinessObject;

namespace NewThinkings.DataLayer.DataObjects.Core
{
    public class CApplicationDao:CDaoBase
    {

        public IList<CApplication> GetApplicationByUserID(string pInputValue)
        {
            try
            {
                return CallFunctionWithList<CApplication>(CSystemFunction.GetApplicationByUserID, pInputValue);
            }
            catch (Exception ex)
            {
                CLogManager.WriteDAL("CApplicationDao", ex.Message);
                return null;
            }
        }

        
    }
}
